package com.webservice.xmloper.commonDataManager;

import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("userInfo")
public class IdcUserInfo {
	
	protected  Integer id;

 	protected  String nature;

 	@XStreamImplicit
	private  List<ServiceUser> serviceUsers;
 	@XStreamImplicit
	private  List<OtherUser> otherUsers;
 	
 	//添加提供服务的用户
 	public void addServiceUser(ServiceUser serviceUser){
 		this.serviceUsers.add(serviceUser);
 	}
 	//添加其他用户
 	public void addOtherUser(OtherUser otherUser){
 		this.otherUsers.add(otherUser);
 	}
}
